import type { TreeDataArr } from './treeType';

export interface QueryFunType {
  type: 'cancel' | 'all' | 'one';
  searchText?: string;
  range?: 'all' | 'table' | 'folder';
  direction?: 'down' | 'up';
}

export interface SetQueryFunType {
  expandedKeys: string[] | undefined;
  selectedKeys: string[] | undefined;
  selectObj: TreeDataArr[] | undefined;
}
